<!DOCTYPE html>
<html>
<#include "../head.html">
    <style>
        .account_type{float:left;margin-top: 3px;}
    </style>
<body>
<table class="mc">
<tr>
<td class="mc-l">
    <!--左侧导航---{-->
    <div id="navPanelContainer">
        <div class="system-logo cd"></div>
        <!--管理员信息---{-->
        <#include "../adminInfo.html">
            <!--管理员信息---}-->
            <div class="nav-wrap">
                <#include "../report/left.html">
            </div>
    </div>
    <!--左侧导航---}-->
</td>
<td class="mc-m">
    <div class="navToggle"></div>
</td>
<td class="mc-r">
<!--顶部导航---{-->
<#include "../topNav.html">
    <!--顶部导航---}-->

    <!--面包屑导航---{-->
    <#assign moduleName="每月会员注册统计">
        <#include "banner.html">
            <!--面包屑导航---}-->

            <!--工具栏--{-->
            <div id="toolbar" class="clearfix">
                <div class="toolbor-module export">
                    <input type="button" onclick="exportxls()" value="导出报表" class="input-button export-btn"/>
                </div>
              
                <div class="toolbor-module search">    
                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                </div>
                
               <div class="toolbor-module search">
                	<div style="height:22px;line-height:22px;float:left;">月份：</div>
					<div class="select-box" id="month_time">
						<div class="tag-select">请选择！！</div>
						<ul class="tag-options">
							<li data-value="1" <#if month_time?? && month_time == 1 >data-selected="selected"</#if>>1月</li>
							<li data-value="2" <#if month_time?? && month_time == 2 >data-selected="selected"</#if>>2月</li>
							<li data-value="3" <#if month_time?? && month_time == 3 >data-selected="selected"</#if>>3月</li>
							<li data-value="4" <#if month_time?? && month_time == 4 >data-selected="selected"</#if>>4月</li>
							<li data-value="5" <#if month_time?? && month_time == 5 >data-selected="selected"</#if>>5月</li>
							<li data-value="6" <#if month_time?? && month_time == 6 >data-selected="selected"</#if>>6月</li>
							<li data-value="7" <#if month_time?? && month_time == 7 >data-selected="selected"</#if>>7月</li>
							<li data-value="8" <#if month_time?? && month_time == 8 >data-selected="selected"</#if>>8月</li>
							<li data-value="9" <#if month_time?? && month_time == 9 >data-selected="selected"</#if>>9月</li>
							<li data-value="10" <#if month_time?? && month_time == 10 >data-selected="selected"</#if>>10月</li>
							<li data-value="11" <#if month_time?? && month_time == 11 >data-selected="selected"</#if>>11月</li>
							<li data-value="12" <#if month_time?? && month_time == 12 >data-selected="selected"</#if>>12月</li>
						</ul>
					</div>
					</div>
                <div class="toolbor-module search">
                	<div style="height:22px;line-height:22px;float:left;">年份：</div>
					<div class="select-box" id="year_time">
						<div class="tag-select">请选择！！</div>
						<ul class="tag-options">
							<li data-value="2010" <#if year_time?? && year_time == 2010 >data-selected="selected"</#if>>2010</li>
							<li data-value="2011" <#if year_time?? && year_time == 2011 >data-selected="selected"</#if>>2011</li>
							<li data-value="2012" <#if year_time?? && year_time == 2012 >data-selected="selected"</#if>>2012</li>
							<li data-value="2013" <#if year_time?? && year_time == 2013 >data-selected="selected"</#if>>2013</li>
							<li data-value="2014" <#if year_time?? && year_time == 2014 >data-selected="selected"</#if>>2014</li>
							<li data-value="2015" <#if year_time?? && year_time == 2015 >data-selected="selected"</#if>>2015</li>
							<li data-value="2016" <#if year_time?? && year_time == 2016 >data-selected="selected"</#if>>2016</li>
							<li data-value="2017" <#if year_time?? && year_time == 2017 >data-selected="selected"</#if>>2017</li>
							<li data-value="2018" <#if year_time?? && year_time == 2018 >data-selected="selected"</#if>>2018</li>
							<li data-value="2019" <#if year_time?? && year_time == 2019 >data-selected="selected"</#if>>2019</li>
							<li data-value="2020" <#if year_time?? && year_time == 2020 >data-selected="selected"</#if>>2020</li>
						</ul>
					</div>
				</div>
            </div>
            <!--工具栏--}-->
            <div id="main" class="clearfix">
                <form action="" method="post">
                    <table class="data-list">
                        <tr class="header">
                        	<td>月份</td>
                            <td>注册人数</td>
                            <td>实名认证</td>
                            <td>手机认证</td>
                            <!--v1.6.7.2 RDPROJECT-510 cx 2013-12-05 start -->
                            <td>邮箱认证</td>
                            <!--v1.6.7.2 RDPROJECT-510 cx 2013-12-05 end -->
                            <td>VIP认证</td>
                            <td>投资人数</td>
                            <td>上月注册用户</td>
                        </tr>
                        <#import "../../common/function.html" as func>
                        <#if item??>
                            <tr class="s">
                            	<td>${item.record_time!"-"}</td>
                                <td>${item.register_num!0}人</td>
                                <td>${item.real_num!0}人</td>
                                <td>${item.phone_num!0}人</td>
                                <!--v1.6.7.2 RDPROJECT-510 cx 2013-12-05 start -->
                                <td>${item.email_num!0}人</td>
                                <!--v1.6.7.2 RDPROJECT-510 cx 2013-12-05 end -->
                                <td>${item.vip_num!0}人</td>
                                <td>${item.tender_num!0}人</td>
                                <td>${item.before_register_num!0}人</td>
                            </tr>
                        </#if>
                    </table>
                </form>

                <!--底部工具栏--{-->
                <div id="bottomToolbar" class="clearfix">
                    <div class="other-tool">
                        <dl class="refresh-data">
                            <dt class="refresh-data-icon"></dt>
                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                        </dl>
                    </div>
                </div>
                <!--底部工具栏--}-->

                <script>
                    var url = '/admin/report/monthUserNum.html?search=true';
                    var xlsurl = '/admin/report/monthUserNum.html?actionType=export';

                    function sousuo(){
                        var sou = "";
                        var year_time = $("#year_time").find(".open-selected").attr("data-value");
                        if (year_time!="" && year_time!=null){
            				sou += "&year_time="+year_time;
            			}
                        var month_time = $("#month_time").find(".open-selected").attr("data-value");
                        if (month_time!="" && month_time!=null){
            				sou += "&month_time="+month_time;
            			}
                        if (sou!=""){
                            location.href=url+sou;
                        }else location.href=url;
                    }
                    function exportxls(){
                        var sou = "";
                        var year_time = $("#year_time").find(".open-selected").attr("data-value");
                        if (year_time!="" && year_time!=null){
            				sou += "&year_time="+year_time;
            			}
                        var month_time = $("#month_time").find(".open-selected").attr("data-value");
                        if (month_time!="" && month_time!=null){
            				sou += "&month_time="+month_time;
            			}
                        if (sou!=""){
                            location.href=xlsurl+sou;
                        }else{
                            location.href=xlsurl;
                        }
                    }
                </script>
            </div>

</td>
</tr>
<tr>
    <!--尾部--{-->
    <td colspan="3" class="mc-b"><#include "../foot.html"></td>
    <!--尾部--}-->
</tr>
</table>

</body>
</html>
<#include "../jsPage.html">